package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;

public interface DishService extends IService<Dish> {
    //新增菜品，同时插入对应口味数据,type : 0 新增 ， 1 更新
    public void saveWithFlavor(DishDto dishDto,int type);

    public DishDto useIdtoFlavor(Long id);

    public void deleteIdwithFlavor(Long id);

}
